<div class="statistics view">
<h2><?php echo __('Statistic'); ?></h2>
<table class="table">
    <tbody>
        <tr>
            <td><?php echo __('Id'); ?></td>
            <td>
                    <?php echo h($statistic['Statistic']['id']); ?>
                    &nbsp;
            </td>
        </tr>
        <tr>
            <td><?php echo __('Product'); ?></td>
            <td>
                    <?php echo $this->Html->link($statistic['Product']['title'], array('controller' => 'products', 'action' => 'view', $statistic['Product']['id'])); ?>
                    &nbsp;
            </td>
        </tr>
        <tr>
            <td><?php echo __('Count'); ?></td>
            <td>
                    <?php echo h($statistic['Statistic']['count']); ?>
                    &nbsp;
            </td>
        </tr>
        <tr>
            <td><?php echo __('Date'); ?></td>
            <td>
                    <?php echo h($statistic['Statistic']['date']); ?>
                    &nbsp;
            </td>
        </tr>
    </tbody>
</table>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Statistic'), array('action' => 'edit', $statistic['Statistic']['id'])); ?> </li>
		<li><?php echo $this->Form->postLink(__('Delete Statistic'), array('action' => 'delete', $statistic['Statistic']['id']), null, __('Are you sure you want to delete # %s?', $statistic['Statistic']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Statistics'), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Statistic'), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Products'), array('controller' => 'products', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Product'), array('controller' => 'products', 'action' => 'add')); ?> </li>
	</ul>
</div>
